<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>

<link href="css/apps/preparedsparepart/input.css" type="text/css" rel="stylesheet" />
<script src="scripts/apps/app.js" type="text/javascript"></script>
<script src="scripts/apps/preparedsparepart/input.js" type="text/javascript"></script>

<div class="preparedsparepartPanel">
<form  id="beanform">
<fieldset>
<legend>设备上报</legend>
<table class="table table-striped">
<tbody>
  <tr>
    <td>名称</td>
    <td><input name="bean.name" /></td>
  </tr>
  <tr>
    <td>数量</td>
    <td><input name="bean.amount" /></td>
  </tr>
  <tr>
    <td>型号</td>
    <td><input name="bean.typicalness" /></td>
  </tr>
  <tr>
    <td>使用单位</td>
    <td>
    <select id="beanownerid" name="bean.owner.id">
    </select>
    </td>
  </tr>
  <tr>
    <td>申报原因</td>
    <td>
    <textarea name="bean.reason"></textarea>
    </td>
  </tr>
  <tr>
    <td>所属设备</td>
    <td>
     <span class="label label-important" id="eqname">请选择设备</span>
     <button type="button" class="btn btn-warning" onclick="selectEqui('beanhostid','eqname');">选择设备</button>
     
     <input type="hidden" name="bean.host.id"  id="beanhostid" />
    </td>
  </tr>
</tbody>
<tfoot>
  <tr>
  <td colspan="2">
    <button type="button" class="btn btn-info" id="saveBtn">
<i class="icon-ok icon-white"></i>
保存</button><button class="btn" type="reset">重置</button>
  </td>
  </tr>
</tfoot>
</table>

</fieldset>
</form>
</div>
